<?php
error_reporting( E_ALL&~E_NOTICE );
include "function.php";

switch ($argv[1]){
    case "help":
        help();
        break;
    
    case "1":
        makeCard();
        break;

    case "2":
        makeBorrow();
        break;

    case "3";
        makeReturn();
        break;

    case "4";
        entryBooks();
        break;

    default:
        echo "输入 help 查看操作信息 \n";
}
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/2/22
 * Time: 18:48
 */